﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodePlex.KeyedList
{
	/// <summary>
	/// represents a delegate that will return a key value for a passed in item
	/// </summary>
	/// <typeparam name="TKey">The type of the keys</typeparam>
	/// <typeparam name="TItem">The type of the items</typeparam>
	/// <param name="item">the object to return a key for</param>
	/// <returns>a key value for the item</returns>
	public delegate TKey GetKeyForItemDelegate<TKey, TItem>(TItem item);
}
